package Dao;

import java.util.List;

public interface IDatabase {


	public boolean connect(String connecteur);
	public boolean connect(String connecteur, boolean transactionnable);
	public boolean disconnect();
	public boolean isConnected();
	//public boolean insert(String table, List<String> values);
	//public ResultSet request(String request);
	public boolean update(String table, String request, String condition);
	public boolean delete(String table, String condition);
	//public ResultSet getResultSet();
	public List<String> getLastResult(String param); 
	//public TreeMap<Integer, TreeMap<Integer, IndexStandard>> getSpecificLastResult();
	//public List<Map<String,String>> getSpecificLastResult(String[] columns);
	public void beginTransaction();
	public void endTransaction();
	public void setTransactionnable(boolean b);
	public void rollback();
}
